/*
 * @Author: 千锋爱佛僧
 * @公众号: 大前端私房菜
 * @Slogan: 千锋精品教程，好学得不像实力派！
 */
/*
 * @Author: 千锋爱佛僧
 * @公众号: 大前端私房菜
 * @Slogan: 千锋精品教程，好学得不像实力派！
 */
import { createApp } from "vue";
import "./style.css";
import App from "./App.vue";
import router from "./router";
import { initRem } from "./utils/rem";
import "virtual:uno.css";
import "./assets/font/iconfont.css";
import JobItem from "./components/job-item.vue";
import CustomInput from "./components/custom-input.vue";
import { createPinia } from "pinia";
import piniaPluginPersistedstate from "pinia-plugin-persistedstate";
import "vant/lib/index.css"; //解决Notify组件的样式问题
import "./utils/leancloud-init"; //初始化LeanCLoudSDK
initRem();
const pinia = createPinia();
pinia.use(piniaPluginPersistedstate); //配置pinia持久化插件
const app = createApp(App);
app.component("job-item", JobItem);
app.component("custom-input", CustomInput);
app.use(router);
app.use(pinia); //注入状态机
app.mount("#app");
